package parttern.mediator;

public abstract class AbsColleague {


    protected int num;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }


    //通过中介者将数据在两个同事类中做逻辑关联操作
    public abstract void setNum(int num, AbsMediator absMediator);
}
